package com.atguigu.springcloud.mapper;

import com.atguigu.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface PaymentMapper {



    public int create(Payment payment);

//    @Select("select * from payment where id=#{id}")
    public Payment getPaymentById(@Param("id") Long id);



}
